package sy.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "iot_parking_out_exception", catalog = "ssh")
public class IotParkingOutException {
	private Integer id;
	private String outExceptionId;
	private WYAccount wyAccount;
	private String status;//处理状态，y:同意，n:过失
	private Date handleTime;
	private Date uploadTime;
	private String reason;
	private String project;
	private String date;
	private String inDate;
	private String outDate;
	private String roadCode;
	private String roadName;
	private String cardNo;
	private String operatorName;
	private String station;
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "outExceptionId",unique = true)
	public String getOutExceptionId() {
		return outExceptionId;
	}
	public void setOutExceptionId(String outExceptionId) {
		this.outExceptionId = outExceptionId;
	}
	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "wyAccount")
	public WYAccount getWyAccount() {
		return wyAccount;
	}
	public void setWyAccount(WYAccount wyAccount) {
		this.wyAccount = wyAccount;
	}
	@Column(name = "status")
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name = "handleTime")
	public Date getHandleTime() {
		return handleTime;
	}
	public void setHandleTime(Date handleTime) {
		this.handleTime = handleTime;
	}
	@Column(name = "uploadTime")
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	@Column(name = "reason")
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	@Column(name = "project")
	public String getProject() {
		return project;
	}
	public void setProject(String project) {
		this.project = project;
	}
	@Column(name = "date")
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	@Column(name = "inDate")
	public String getInDate() {
		return inDate;
	}
	public void setInDate(String inDate) {
		this.inDate = inDate;
	}
	@Column(name = "outDate")
	public String getOutDate() {
		return outDate;
	}
	public void setOutDate(String outDate) {
		this.outDate = outDate;
	}
	@Column(name = "roadCode")
	public String getRoadCode() {
		return roadCode;
	}
	public void setRoadCode(String roadCode) {
		this.roadCode = roadCode;
	}
	@Column(name = "roadName")
	public String getRoadName() {
		return roadName;
	}
	public void setRoadName(String roadName) {
		this.roadName = roadName;
	}
	@Column(name = "cardNo")
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	@Column(name = "operatorName")
	public String getOperatorName() {
		return operatorName;
	}
	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}
	@Column(name = "station")
	public String getStation() {
		return station;
	}
	public void setStation(String station) {
		this.station = station;
	}
	
	
}
